package com.lai;

import java.util.Scanner;

public class text0 {
    public static void main(String[] args) {
        int coins[] = new int[]{10, 20, 44, 55};
        int i;
        int com = 0;
        //录入索引
        Scanner sc = new Scanner(System.in);
        i = sc.nextInt();
        int tp = coins[i];
        while (tp >= 2){
            tp = tp - 2 ;
            com++;
        }
        if (coins[i] % 2 == 1){
            com++;
        }
        System.out.println(com);
    }
}
